cmake_minimum_required(VERSION 3.17)
project(glsl)

set(CMAKE_CXX_STANDARD 20)
include_directories(
        ./
        include
        src
        vendor/glfw/include
        vendor/glm
        vendor/imgui
        math
        component
        ../libs/assimp/include
)

file(GLOB GLAD include/glad/*)
file(GLOB KHR include/KHR/*)
file(GLOB_RECURSE SRC src/*)

add_subdirectory(vendor/glfw)
add_subdirectory(vendor/glm)
add_subdirectory(vendor/imgui)
add_executable(glsl stb_image.h stb_image.cpp ${KHR} ${GLAD} ${SRC}  glad.c main.cpp )

target_link_libraries(glsl glfw glm imgui)